<h1>Listing time_categories</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Icon url</th>
    <th>Archived</th>
    <th>Description</th>
  </tr>

<% @time_categories.each do |time_category| %>
  <tr>
    <td><%=h time_category.title %></td>
    <td><%=h time_category.icon_url %></td>
    <td><%=h time_category.archived %></td>
    <td><%=h time_category.description %></td>
    <td><%= link_to 'Show', time_category %></td>
    <td><%= link_to 'Edit', edit_time_category_path(time_category) %></td>
    <td><%= link_to 'Destroy', time_category, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New time_category', new_time_category_path %>